IsPromiseValue
TheIsPromiseValue
method returns a Boolean value that indicates whether the currently focused value is a promise value.
ODBoolean IsPromiseValue ();
- return value
kODTrue
if the currently focused value is a promise value, otherwisekODFalse
.DISCUSSION
If the currently focused value is a promise value, the promise is not resolved by this method.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::GetPromiseValue
method (page 692).
TheODStorageUnit::SetPromiseValue
method (page 711).
"Fulfilling a Promise" on page 331 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help